//
//  QCBaseParam.swift
//  YFWatchDemo WatchKit Extension
//
//  Created by FYWCQ on 2019/7/1.
//  Copyright © 2019 YFWCQ. All rights reserved.
//

import Foundation
import ObjectMapper
import Moya


////
////class QCBaseApi: TargetType {
////    public var baseURL: URL { return URL(string: urlHost)! }
////    public var parameters: Mappable?
////    public var path: String {
////        return ""
////    }
////    public var method: Moya.Method {
////        return .get
////    }
////    
////    public var headers: [String : String]? {
////        return nil
////    }
////
////    public var task: Task {
////        return Task.requestPlain
////    }
////
////    public var sampleData: Data {
////        //        switch self {
////        //
////        //        case .userLogin(let name):
////        //            return "{\"login\": \"\(name)\", \"id\": 100}".data(using: String.Encoding.utf8)!
////        //        case .verificationCode(_):
////        //            return "[{\"name\": \"Repo Name\"}]".data(using: String.Encoding.utf8)!
////        //        }
////        return "".data(using: String.Encoding.utf8) ?? Data()
////    }
////    
////    init(parameters:Mappable) {
////        self.parameters = parameters
////    }
////    
////}
//
//
//class QCBaseGymApi: QCBaseApi {
//    var id:NSNumber?
//    var model:String?
//    func funcQCGymParamSetting(baseApi:QCBaseApi,gym:Any) -> Void {
//
//    }
//
//}
//
//class QCBaseListApi: QCBaseGymApi {
//
//    /// 页数
//    var page:NSNumber?
//
//    /// 排序
//    var order_by:String?
//
//    /// 是否请求全部数据
//    var show_all:NSNumber?
//
//    /// 搜索字段。模糊搜索 名字手机号等
//    var q:String?
//
//    /// 只根据名字搜索
//    var username__icontains:String?
//
//
//
//}
